﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MODULE_TIENICH
{
    public partial class frm_can : Form
    {
        private string sresult;
        public string _result
        {
            get { return this.lbresult.Text; }
            set { this.lbresult.Text = value; }
        }
        public frm_can()
        {
            InitializeComponent();
        }

        private void serialPort1_DataReceived(object sender, System.IO.Ports.SerialDataReceivedEventArgs e)
        {
            //this.lbdata.Text = this.serialPort1.ReadLine();
        }

        private void frm_can_Load(object sender, EventArgs e)
        {
            //this.serialPort1.Open();
        }

        private void btOK_Click(object sender, EventArgs e)
        {
            this.lbresult.Text = this.lbdata.Text;
        }
    }
}
